package seg.tef4.whms.apis;

import java.util.Map;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;
import seg.tef4.whms.domain.TOutWarehouse;
import seg.tef4.whms.domain.TOutWarehouseV;

public interface OutWarehouseApi {
    @GET("/wms/warehouse/list")
    public Call<ResponseBody> list(@Header("Authorization") String token, @QueryMap Map<String, String> queryParams);

    @POST("/wms/warehouse")
    public Call<ResponseBody> add(@Header("Authorization") String token, @Body TOutWarehouseV tOutWarehousev);

    @POST("/wms/warehouse/get_status")
    public Call<ResponseBody> get_status(@Header("Authorization") String token);
}
